package com.beicai.topface;

import android.util.Base64;

import java.io.UnsupportedEncodingException;

public class RSAKEY {

//    public static String WEIXINKEY="wx625a5eb822761543";
//    public static String WEIXINXCX="gh_4bafd7015f04";
    public static String WEIXINKEY="Lq5J/17XyfKmRSWTEe4vzGW61VvcCiIDjgX67C1JwChURHNGW1ND7iCHXfC/xCXZ1p3xgrceUuF7kAI3PlZbzIybyvsokVe61lU4ApvyNEBBZXtKMT1s9028TXsGueizT6iB2C7hIa66j832vDWfL4TYS+9eJ4BPXudw8MN02yc=";
    public static String WEIXINXCX=" Pb7Sti+LMCaB4A3qSqp6MYlQFoUJZRALJU8T/9P9GfiEANJw7GrZVIADREBCpjJ27DNNmUoyxugwK0UnIMbC6bAPeJxj24tYxHy0oDMl9sgAIMaZJSTG882904ttYe95CETLvLBO/vxv3xnv1hCfcflVBQxG2cGduH9jq/Sizww=";
    //公钥
    public static String PUBKEY="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLzO88CgjCHxaWdwY5jvUFasnI48/YGWAjY5KaL9Rvp0RTKZmBoSyED3uX9M87lgn0kkqiAl8GTlOJnrLSqZgAjOrkTeXalQ+ctGIkrXkcm7Lju68gZwFvIGSBP03dDK4YObXlHcWpQmO7fRXftajB7vfX8J22XAqvdurgOEQtQQIDAQAB";
    //私钥
    public static String PRIKEY = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAMvM7zwKCMIfFpZ3BjmO9QVqycjjz9gZYCNjkpov1G+nRFMpmYGhLIQPe5f0zzuWCfSSSqICXwZOU4mestKpmACM6uRN5dqVD5y0YiSteRybsuO7ryBnAW8gZIE/Td0Mrhg5teUdxalCY7t9Fd+1qMHu99fwnbZcCq926uA4RC1BAgMBAAECgYA3xPbaiSxoYrV9q0iKy7IFL3nUfXLNAfSq+n6NrvUFMNKjp0iYjpBt+wapSJbFCYPj53yA5QE36os1p7Xrq/kqAGL3OtspeGIU9FRMSOn5oELwXEBqBx81fCXQU49lAXcY+5MnQy7U6k30Dktpy4hTF3VKzoirihPqKQddS6w2oQJBAOS7dWRdi5NlOWCUAHuZkuiZTh8cQmEZm9lH5CqDgyAhL9WoIYZ9J9ok+t6Z/6abvcP0We2YdKOZOGrkVMyh20UCQQDkGJlz9ik2xfnVHWndrZkG8M6xX/0eo9dXR9SIVS119LS8YgAjizHhtZGYWniyjMsSp9/S1krYdF+m2rBDNyvNAkAw6Rz7Lz2vcQ/J5RwNUhOmBVI9OM/A77bxyXuy05hwgGg4KdGxboXdEddLTmbqe5cilde9BMK8UQFNajHv6BR5AkEAtdWad2Q0pNKcgLVrEOp0RKEx1Rs1ePiaEZ1Uo75reE40yrzBaZRsloedYrw03fn5ZYzolHZ6wiW7nxNVUrAnvQJAQ8gtsa1oS9RcV+Bke8fSRg0fEkXGejjYOBVDEvRv4a54IzT/UZQh3KvthSHP5QnWTVg6dRrcP8nBBR3CSkkttg==";


    public static byte[] getPUBKEY() {
        try {
            return Base64.decode(PUBKEY.getBytes("utf-8"),Base64.DEFAULT);
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return null;
    }

    public static byte[] getPRIKEY() {
        try {
            return Base64.decode(PRIKEY.getBytes("utf-8"),Base64.DEFAULT);
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return null;
    }
}
